
public class CommonMsg extends AbstractBridgeMessage {

    public CommonMsg(IMessage iMessage) {
        super(iMessage);
    }

    public void sendMessage(String content, String toUser) {
        this.doSomething();
        super.sendMessage(content, toUser);
    }

    private void doSomething() {
        System.out.println("我只是一个普通消息");
    }
}